home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Linux
/
Kubuntu 8.10
/
kubuntu-8.10-desktop-i386.iso
/
casper
/
filesystem.squashfs
/
lib
/
partman
/
commit.d
/
30parted
< prev
next >
Wrap
Text File
|
2008-10-29
|
318b
|
22 lines
#!/bin/sh
. /lib/partman/lib/base.sh
. /lib/partman/lib/commit.sh
for dev in $DEVICES/*; do
[ -d "$dev" ] || continue
cd $dev
open_dialog IS_CHANGED
read_line is_changed
close_dialog
[ "$is_changed" = yes ] || continue
disable_swap "$dev"
open_dialog COMMIT
close_dialog
device_cleanup_partitions
done